package com.hospital.dao;

import com.hospital.domain.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminDao {

    @Select("select * from admininfo where accountNum=#{accountNum} and pwd=#{pwd}")
    public Admin Login(@Param("accountNum") String accountNum,@Param("pwd") String pwd);
}
